235. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2023-03-13 03:01:07 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

235.1 Files compared

#LocationFileLast Modified
1Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Megamenu/templatestopmenu.phtml2021-06-27 04:16:06 +0000
2Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Megamenu/templatestopmenu.phtml2023-02-15 08:52:02 +0000

235.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged2100
Changed12
Inserted00
Removed00

235.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

235.4 Active regular expressions

No regular expressions were active.

235.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © 2018 Porto. All rights reserved. 3  * Copyright © 2018 Porto. All rights reserved.
4  */ 4  */
5  5 
6 ?> 6 ?>
7 <?php 7 <?php
8 /** 8 /**
9  * Top menu for store 9  * Top menu for store
10  * 10  *
11  * @see \Smartwave\Megamenu\Block\Topmenu 11  * @see \Smartwave\Megamenu\Block\Topmenu
12  */ 12  */
13 ?> 13 ?>
14 <?php 14 <?php
15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data'); 15     $_helper = $this->helper('Smartwave\Megamenu\Helper\Data');
16     $_config = $_helper->getConfig('sw_megamenu'); 16     $_config = $_helper->getConfig('sw_megamenu');
17     $columnsLimit = 0; 17     $columnsLimit = 0;
18     $header_type = $_helper->getConfig('porto_settings/header/header_type'); 18     $header_type = $_helper->getConfig('porto_settings/header/header_type');
19  19 
20     if($_config['general']['enable']) { 20     if($_config['general']['enable']) {
21 ?> 21 ?>
22 <?php $_menu = $block->getMegamenuHtml(); ?> 22 <?php $_menu = $block->getMegamenuHtml(); ?>
23  23 
24 <nav class="navigation sw-megamenu <?php if($header_type == 7 || $header_type == 8  || $header_type == 18 || $header_type == 22
): ?>side-megamenu<?php endif; ?>" role="navigation">
 24 <nav class="navigation sw-megamenu <?php if($header_type == 7 || $header_type == 8  || $header_type == 18 || $header_type == 22 || $header_type == 25): ?>side-megamenu<?php endif; ?>" role="navigation">
25     <ul> 25     <ul>
26         <?php echo $_menu; ?> 26         <?php echo $_menu; ?>
27     </ul> 27     </ul>
28 </nav> 28 </nav>
29  29 
30 <script type="text/javascript"> 30 <script type="text/javascript">
31     require([ 31     require([
32         'jquery', 32         'jquery',
33         'Smartwave_Megamenu/js/sw_megamenu' 33         'Smartwave_Megamenu/js/sw_megamenu'
34     ], function ($) { 34     ], function ($) {
35         $(".sw-megamenu").swMegamenu(); 35         $(".sw-megamenu").swMegamenu();
36     }); 36     });
37 </script> 37 </script>
38 <?php 38 <?php
39     } else { 39     } else {
40 ?> 40 ?>
41 <?php $_menu = $block->getHtml('level-top', 'submenu', $columnsLimit); ?> 41 <?php $_menu = $block->getHtml('level-top', 'submenu', $columnsLimit); ?>
42  42 
43 <nav class="navigation sw-megamenu" role="navigation"> 43 <nav class="navigation sw-megamenu" role="navigation">
44     <ul data-mage-init='{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'> 44     <ul data-mage-init='{"menu":{"responsive":true, "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'>
45         <?php /* @escapeNotVerified */ echo $_menu; ?> 45         <?php /* @escapeNotVerified */ echo $_menu; ?>
46     </ul> 46     </ul>
47 </nav> 47 </nav>
48  48 
49 <?php 49 <?php
50     } 50     }
51 ?> 51 ?>